/**
 * 查询参数类型
 */
export interface RosterQuery extends PageQuery {
  title?: string;
  category_id?: string;
  id?: number;
  sort?: string;
  is_hid?: number;
  time?: [];
}

/**
 * 视图对象类型
 */
export interface Org {
  id?: number;
  title?: string;
}

export interface Role {
  id?: number;
  title?: string;
}

/**
 * 组织视图对象类型
 */
export interface Roster {
  id?: number;
  nickname?: string;
  avatar?: string;
  mobile?: string;
  created_at?: Date;
  is_hid?: number;
  organization?: Org;
  roles?: Role;
  position_name?: string;
}
